﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using ReportMobile.inc;

namespace ReportMobile.v2 {
    public partial class RepaymentRateDetail : System.Web.UI.Page {
        public string area,areaName,year;
        public DataTable dtDetail;
        public Common cm = new Common();
        protected void Page_Load(object sender, EventArgs e) {

            if (Request["area"] != null) {
                areaName = Request["areaname"];
                area = Request["area"];
                year = Request["year"];
            }

            dtDetail = cm.ExecuteProcedure("Feed_RepaymentRate_Expire_Detail @area='" + area + "',@areaName='" + areaName + "',@sfYear='" + year + "',@sfDaedTime='" + DateTime.Now + "'");
            if (dtDetail != null) {
                rptDetail.DataSource = dtDetail;
                rptDetail.DataBind();
            }
        }
    }
}